package com.d2.modules.system.permission.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.d2.modules.system.permission.entity.RoleResource;

import java.util.List;

public interface IRoleResourceMapper extends BaseMapper<RoleResource> {

    List<Long> queryResourceByUserId(Long userId);

    List<String> queryPermissionByUserId(Long userId);
}
